package Entities;

import java.io.Serializable;
import java.util.List;

import javax.persistence.CascadeType;
import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.GeneratedValue;
import javax.persistence.Id;
import javax.persistence.JoinColumn;
import javax.persistence.OneToMany;
import javax.persistence.Table;
@Entity
@Table(name= "InformeReposicion")
public class Entity_InformeReposicion implements Serializable{
	private static final long serialVersionUID = 1L;
	@Id
	@GeneratedValue
	@Column(name = "id_informe_reposicion")
	private int idInformeReposicion;
	@OneToMany(cascade = CascadeType.ALL)
	@JoinColumn(name = "id_informe_reposicion")
	private List<Entity_InformeReposicionArea> informesRepAreas;
	

	
	//GET & SET
	public int getIdInformeReposicion() {
		return idInformeReposicion;
	}
	public void setIdInformeReposicion(int idInformeReposicion) {
		this.idInformeReposicion = idInformeReposicion;
	}
	public List<Entity_InformeReposicionArea> getInformesRepAreas() {
		return informesRepAreas;
	}
	public void setInformesRepAreas(List<Entity_InformeReposicionArea> informesRepAreas) {
		this.informesRepAreas = informesRepAreas;
	}
	

	

}
